﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.ProcessManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.ProcessManagement.ProcessDocVMs
{
    public partial class ProcessDocBatchVM : BaseBatchVM<ProcessDoc, ProcessDoc_BatchEdit>
    {
        public ProcessDocBatchVM()
        {
            ListVM = new ProcessDocListVM();
            LinkedVM = new ProcessDoc_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class ProcessDoc_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._ProcessDoc._Route")]
        public long? RouteId { get; set; }
        [Display(Name = "_Model._ProcessDoc._Op")]
        public long? OpId { get; set; }
        [Display(Name = "_Model._ProcessDoc._OpCode")]
        public string OpCode { get; set; }
        [Display(Name = "_Model._ProcessDoc._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._ProcessDoc._FileName")]
        public string FileName { get; set; }
        [Display(Name = "_Model._ProcessDoc._FileType")]
        public string FileType { get; set; }
        [Display(Name = "_Model._ProcessDoc._RemotePc")]
        public string RemotePc { get; set; }
        [Display(Name = "_Model._ProcessDoc._RemotePath")]
        public string RemotePath { get; set; }
        [Display(Name = "_Model._ProcessDoc._UserName")]
        public string UserName { get; set; }
        [Display(Name = "_Model._ProcessDoc._Pwd")]
        public string Pwd { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}